package com.lg.utils.hutool.util;

import cn.hutool.core.date.DateTime;
import cn.hutool.core.lang.Dict;

public class DictTest {
    public static void main(String[] args) {
        Dict dict = Dict.create()
                .set("key1", 1)//int
                .set("key2", 1000L)//long
                .set("key3", DateTime.now());//Date

        Long v2 = dict.getLong("key2");//1000
        System.out.println(v2);
    }
}
